package com.csx.micrometer.common.util;

import com.csx.micrometer.common.constant.SystemParamManagerConstant;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author cuisongxu
 * @date 2022/11/20 20:33
 */
public class SystemParamManagerUtils {

    public SystemParamManagerUtils() {
    }

    public static String getRegion() {
        return System.getProperty(SystemParamManagerConstant.REGION);
    }

    public static String getZoneId() {
        return System.getProperty(SystemParamManagerConstant.ZONE_ID);
    }

    public static String getUnitId() {
        return System.getProperty(SystemParamManagerConstant.UNIT_ID);
    }

    public static String getSystemId() {
        return System.getProperty(SystemParamManagerConstant.SYSTEM_ID);
    }


    public static String getEnvId() {
        return System.getProperty(SystemParamManagerConstant.ENV_ID);
    }

    public static String getApplication() {
        return System.getProperty(SystemParamManagerConstant.APPLICATION);
    }
}
